/**
 * Copyright 2025 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.view-mode {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-section {
  strong {
    color: #b0b0b0;
  }
  p {
    margin-top: 0.25rem;
  }
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.pdf-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background-color: #374151; // bg-gray-700
  color: #d1d5db; // text-gray-300
  transition: background-color 0.2s ease-in-out;
  text-decoration: none;
  &:hover {
    background-color: #4b5563; // bg-gray-600
  }
}

::ng-deep .markdown-content {
  p {
    margin-top: 0.25rem;
  }

  ul,
  ol {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
  }

  pre {
    background-color: #1f2937; // bg-gray-800
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
  }
}
